package sysinit

import (
	"github.com/patrickmn/go-cache"
	"go-cms/utils"
	"time"
)

func init()  {
	// 初始化缓存
	 utils.Cache = cache.New(time.Minute * 60,time.Minute*120)

	 // 初始化数据库
	 initDB()
}